import request from "@/utils/request";

// 左
export const transactionAnalysisAveragePriceTrend = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/selectProductBuildInfo",
    method: "post",
    data: params,
  });
};
// 右
export const selectTwoBuildInfo = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/selectTwoBuildInfo",
    method: "post",
    data: params,
  });
};

// 房地产监测预警驾驶舱-房屋交易情况分析预测-全省房屋均价统计-bar
export const transactionAnalysisAveragePriceStatistics = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/transactionAnalysisAveragePriceStatistics",
    method: "post",
    data: params,
  });
};

// 房地产监测预警驾驶舱-房屋交易情况分析预测-房屋均价走势分析预测-line
export const transactionAnalysisAveragePriceForecast = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/transactionAnalysisAveragePriceForecast",
    method: "post",
    data: params,
  });
};

// 房地产监测预警驾驶舱-房屋交易情况分析预测-全省房屋交易量走势-line
export const transactionAnalysisTradingVolumeTrend = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/transactionAnalysisTradingVolumeTrend",
    method: "post",
    data: params,
  });
};

// 房地产监测预警驾驶舱-房屋交易情况分析预测-全省房屋交易量统计-bar
export const transactionAnalysisTradingVolumeStatistics = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/transactionAnalysisTradingVolumeStatistics",
    method: "post",
    data: params,
  });
};

// 房地产监测预警驾驶舱-房屋交易情况分析预测-房屋交易量走势分析预测-line
export const transactionAnalysisTradingVolumeForecast = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/transactionAnalysisTradingVolumeForecast",
    method: "post",
    data: params,
  });
};

// 房地产监测预警驾驶舱-库存情况分析-库存走势-line
export const situationAnalysisInventoryTrend = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/situationAnalysisInventoryTrend",
    method: "post",
    data: params,
  });
};

// 房地产监测预警驾驶舱-库存情况分析-各地库存统计-bar
export const situationAnalysisInventoryStatistics = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/situationAnalysisInventoryStatistics",
    method: "post",
    data: params,
  });
};

// 房地产监测预警驾驶舱-库存情况分析-房屋库存分类统计-bar
export const situationAnalysisInventoryClassifyStatistics = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/situationAnalysisInventoryClassifyStatistics",
    method: "post",
    data: params,
  });
};

// 房地产监测预警驾驶舱-去化周期情况分析-去化周期走势-line
export const situationDecayingCycleTrend = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/situationDecayingCycleTrend",
    method: "post",
    data: params,
  });
};

// 房地产监测预警驾驶舱-去化周期情况分析-各地去化周期统计-bar
export const situationDecayingCycleStatistics = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/situationDecayingCycleStatistics",
    method: "post",
    data: params,
  });
};

// 房地产监测预警驾驶舱-去化周期情况分析-房屋去化周期分类统计-bar
export const situationDecayingCycleClassifyStatistics = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/situationDecayingCycleClassifyStatistics",
    method: "post",
    data: params,
  });
};

// 房地产监测预警驾驶舱-宏观经济指标对房屋影响分析-宏观经济指标与房屋均价关系-line
export const macroeconomicIndicatorsHousing = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/macroeconomicIndicatorsHousing",
    method: "post",
    data: params,
  });
};

// 房地产监测预警驾驶舱-宏观经济指标对房屋影响分析-宏观经济指标与房屋交易量关系-line
export const macroeconomicTransactionHousing = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/macroeconomicTransactionHousing",
    method: "post",
    data: params,
  });
};

// 宏观经济指标对房地产市场影响预期变动分析-房屋均价走势预测分析-line
export const macroeconomicImpact = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/macroeconomicImpact",
    method: "post",
    data: params,
  });
};

// 宏观经济指标对房地产市场影响预期变动分析-房屋交易量走势预测分析-line
export const macroeconomicImpactTradingVolume = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/macroeconomicImpactTradingVolume",
    method: "post",
    data: params,
  });
};

// 宏观经济指标对房地产市场影响预期变动分析-宏观经济指标对房地产市场影响预期变动分析-获取顶部筛选模块默认展示值
export const defaultParameterSEachLevel = (params: any) => {
  return request({
    url: "/screen/realEstateForecastingAnalysis/defaultParameterSEachLevel",
    method: "post",
    data: params,
  });
};
